package com.victualler.core.config.permission.controller;

import com.victualler.core.base.controller.BaseRestController;
import com.victualler.core.config.permission.dto.request.RolePermisisonSaveRequestDto;
import com.victualler.core.config.permission.entity.RolePermissionInfoDao;
import com.victualler.core.config.permission.repository.RolePermissionInfoQueryRepository;
import com.victualler.core.config.permission.repository.RolePermissionInfoRepository;
import com.victualler.core.config.permission.service.RolePermissionInfoService;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @author: Guoshichang
 * @discription:
 */
public interface RolePermissionInfoController  extends BaseRestController<RolePermissionInfoDao,RolePermissionInfoRepository,RolePermissionInfoQueryRepository,RolePermissionInfoService> {

    /**
     * @author Guoshichang
     * @since 21:46 on 2018/9/9.
     * @param rolePermisisonSaveRequestDto
     * @Function  保存角色的权限列表
     */
    public void savePermissionsByRoleId(@RequestBody RolePermisisonSaveRequestDto rolePermisisonSaveRequestDto);
}
